<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>函数</title>
<script type="text/javascript">
var show=function (count){
	for(var i=0;i<count;i++){
		document.write("<h3>Hello Everybody!</h3>");
	}
}
</script>
</head>

<body>
	<input type="button" name="btn" id="btn" value="输入显信息的次数" onclick="show(prompt('请输入显示信息的次数：',''))"/>
</body>
</html>
